package main;

import View.Login_window;

import javax.swing.*;

public class StartProject {
    public static void main(String[] args) {
        SwingUtilities.invokeLater(() -> {
            Login_window login = new Login_window();
            login.Login_window_start();
        });

/*        // 3、创建MyThread线程类的对象代表一个线程
        Thread t = new MThread();
        // 4、启动线程（自动执行run方法的）
        t.start();
        System.out.println(t.getName());*/
    }
}
class MThread extends Thread {
    @Override
    public void run() {
        /*new Login_window().Login_window_start();*/
        SwingUtilities.invokeLater(() -> {
            Login_window login = new Login_window();
            login.Login_window_start();
        });
    }
}
